/*
作者：liukuan
有更多建议请联系 QQ：250502876
*/
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<title>QQ装逼链接生成器</title></head>
<body>
<?php
$biaoti=$_POST['title'];
$zhaiyao=$_POST['summary'];
$tupian=$_POST['pics'];
$laiyuan=$_POST['site'];
$tiaozhuan=$_POST['url'];
require_once("conn.php");//引用数据库连接文件
$sql = "insert into link (biaoti,zhaiyao,tupian,tiaozhuan,laiyuan)  values('$biaoti','$zhaiyao','$tupian','$tiaozhuan','$laiyuan')";
mysql_query($sql);//借SQL语句插入数据
mysql_close();//关闭MySQL连接
?>
<br><br><br>
<table width="500" border="1" align="center">
  <tr>
    <td><center>您填写的信息为</center></td>
  </tr>
  <tr>
    <td>标题: <?php echo $biaoti?></td>
  </tr>
  <tr>
    <td>摘要： <?php echo $zhaiyao?></td>
  </tr>
  <tr>
    <td>图片: <?php echo $tupian?></td>
  </tr>
  <tr>
    <td>信息来源: <?php echo $laiyuan?></td>
  </tr>
  <tr>
    <td>跳转网址: <?php echo $tiaozhuan?></td>
  </tr>
  <tr>
    <td><center><a href="http://connect.qq.com/widget/shareqq/index.html?url=<?php echo $tiaozhuan?>&desc=&title=<?php echo $biaoti?>&summary=<?php echo $zhaiyao?>&pics=<?php echo $tupian?>&flash=&site=<?php echo $laiyuan?>&style=201&width=32&height=32">马上分享</a></center></td>
  </tr>
</table>
<div style="text-align:center;margin:60px 0; font:normal 15px 'MicroSoft YaHei';">Powered By 陌晴</div>
</body>
</html>